package manager.vo;

import java.io.Serializable;
import java.util.Date;

public class Friend implements Serializable{
	private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private String sex;
    private Integer age;
    private Date birthday;
    private String attr;
    private String telephone;
    private String address;
    private Integer userid;
	
	
	public Friend(Integer id, String name, String sex, Integer age,
			Date birthday, String attr, String telephone, String address,
			Integer userid) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.birthday = birthday;
		this.attr = attr;
		this.telephone = telephone;
		this.address = address;
		this.userid = userid;
	}
	public Friend() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getAttr() {
		return attr;
	}
	public void setAttr(String attr) {
		this.attr = attr;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getUserid() {
		return userid;
	}
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Friend [id=" + id + ", name=" + name + ", sex=" + sex
				+ ", age=" + age + ", birthday=" + birthday + ", attr=" + attr
				+ ", telephone=" + telephone + ", address=" + address
				+ ", userid=" + userid + "]";
	}
	
	
    
}
